package com.zabra.zl.ui.recall.contract;

import com.zabra.zl.base.BaseView;
import com.zabra.zl.data.OrderListBean;
import com.zabra.zl.data.SimpleBean;

import retrofit2.Call;

public interface RecallContract {
    interface Model {
        Call<OrderListBean> getData(int dealStatus, int orderid,String startTime,String endTime);

        Call<SimpleBean> getSubmitData(int comOrderId, int orderid);
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSuccess(OrderListBean bean);

        void onSuccess(SimpleBean bean);
    }

    interface Presenter {
        void getData(int dealStatus, int orderid,String startTime,String endTime);

        void getSubmitData(int comOrderId, int orderid);
    }
}
